Keycloak REST Services 1.5.0-Final

Path: / admin / realms / {realm} / users / {id} / role-mappings

Get role mappings for this user

Path parameters:
realm - realm name (not id!)
id - user id

Sub-Resources
Resources
NameDescription
clients
clients/{client}
Get client-level role mappings for this user for a specific app
realmGet realm-level role mappings for this user

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/users/{id}/role-mappingsGet role mappings for this user

Method Detail

GET /admin/realms/{realm}/users/{id}/role-mappings

Get role mappings for this user

HTTP Example:
GET /admin/realms/{realm}/users/{id}/role-mappings
API Example:

UsersResource.getRoleMappings({'realm': /* name realm name (not id!) */,
  'id': /* id user id */});

Output:
MappingsRepresentation -
Produces:
application/json

Keycloak REST Services 1.5.0-Final